<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width" />
<script>function g(){
  let d=document;
  let f=d.forms[0];
  d.location.href="i:19"; setTimeout(function(){  document.location.href="i:0i/data/data/info.torapp.uweb/files/home.css:"+f.b.value+":https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/template/home.css";
                                               },100);
  return false;
}
  function g3(iF,filename,fakeurl){
  let d=document;
  let f=d.forms[iF];
  d.location.href="i:0i/data/data/info.torapp.uweb/files/"+filename+":"+f.b.value+'&'+fakeurl +":https://fastly.jsdelivr.net/gh/torappinfo/uweb/searchurl/template/refresh.html";
  return false;
}

  function g4(iF){
    let d=document;
    let f=d.forms[iF];
    let fname = f.f.value+".html";
    if(f.s.checked){
      d.location.href="i:0h"+fname+":"+f.b.value;
      return false;
    } else
      return g3(iF,fname,'file:///data/data/info.torapp.uweb/files/'+fname);
  }
</script><style>
  input{height:40px;width:100%;border-radius:50px;}
  label>input{height: auto; width: auto;};
</style>
<title>主屏设置</title></head><body>
<form onsubmit="return g();" style="margin:5px 0 5px 0;padding:0px">
  <input name=b placeholder="背景图片网址, 可为配置目录下图像文件名"/><br>
  <input type="submit" value="设置主屏">
</form>

<p>
<form onsubmit="return g3(1,'home5.html','file:///data/data/info.torapp.uweb/files/home4.search');" style="margin:5px 0 5px 0;padding:0px">
  <input name=b placeholder="主屏网址" value="home5.mht"/><br>
  <input type="submit" value="设置主屏网址">
</form>
</p>

<p>
  <form onsubmit="return g4(2);" style="margin:5px 0 5px 0;padding:0px">
  <input name=f placeholder="主屏文件名" value="home6"/><br>
  <input name=b placeholder="第n主屏网址"/><br>
  <label><input name=s type="checkbox">Save as single html</label><br>
  <input type="submit" value="设置第n主屏">
</form>
</p>

<p>
  <a href="i:0gdefault.link::保存为主屏:i:020../home6%0A">点击安装常用链接：保存为（第二）主屏 (.mht)</a> <a href="../links/index.html">帮助</a><br>
</p>

<p>
  常用主屏配置网站：<br>
  <a href="https://m.inftab.com">inftab</a><br>
</p>
</body></html>
